package com.wedata.腾讯;

import cn.hutool.json.JSONObject;
import com.wedata.HttpUtils;

public class 教练考勤 {

    public static void main(String[] args) {
        getcheckindata();
    }

    /**
     * 获取打卡记录数据
     * https://developer.work.weixin.qq.com/document/path/94205
     */
    public static void getcheckindata() {
        String url = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckindata?access_token="+企业微信.postRequestWithSign();
        JSONObject param = new JSONObject();
        param.put("corpid","wwbb3eaebf35674eef");
        param.put("agentId","1000008");
        //param.put("mobile","18670715634"); //李潇
        //param.put("mobile","15273132129"); //黄筠筠
        param.put("mobile","13670279423"); //YangLin
        HttpUtils.sendPost(url,param);
    }


}
